Class ServicePolicyImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ServicePolicyImpl
All Implemented Interfaces:
IPCObject, ServicePolicy

public class ServicePolicyImpl extends IPCObjectImpl implements ServicePolicy
Information provided by the PKI file:

    \class ServicePolicy
    
    \brief ServicePolicy holds service-policy configuration
    
    \example network().getDevice("Router0").getServicePolicyManager().getIntfServicePolicy("FastEthernet0")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getServicePolicyMapName

      public String getServicePolicyMapName()
      Information provided by the PKI file:
      
          \brief Returns the policyMap name that is being used
          
              
      Specified by:
      getServicePolicyMapName in interface ServicePolicy
      Returns:
      String Returns a String
    • getServicePolicyMode

      public String getServicePolicyMode()
      Information provided by the PKI file:
      
          \brief Return the service policy mode ("interface"/"global")
          
              
      Specified by:
      getServicePolicyMode in interface ServicePolicy
      Returns:
      String Returns a String
    • getServicePolicyIntf

      public String getServicePolicyIntf()
      Information provided by the PKI file:
      
          \brief Return the service policy interface nameif
          
              
      Specified by:
      getServicePolicyIntf in interface ServicePolicy
      Returns:
      String Returns a String
    • toString

      public String toString()
      Information provided by the PKI file:
      
          \brief Return the configuration in string
          
              
      Specified by:
      toString in interface ServicePolicy
      Overrides:
      toString in class Object
      Returns:
      String Returns a String